 On July 12 , 2009 , Spears confirmed through her Twitter account that she had begun recording new material , stating she was going into the studio with Swedish songwriter and producer Max Martin . On September 23 , 2009 , JIVE Records officially announced the release of a greatest hits titled The Singles Collection through Spears 's official website , in celebration of Spears 's ten @-@ year anniversary in the music industry . The album followed her previous compilation , Greatest Hits : My Prerogative , released in 2004 . The release date was confirmed to be November 24 , 2009 and the album included a new song titled " 3 " , produced by Martin . The compilation was available in two main editions , a standard version as well as a boxset . The standard version contained a single CD with seventeen tracks , including " 3 " . The boxset contained her twenty @-@ nine singles including " 3 " , with each single packaged in its own slip case with original cover art , accompanied by an original b @-@ side or remix . It also included a booklet featuring iconic images and facts about each track as well as a DVD featuring all of Spears 's music videos to date in chronological order . 
