 Spears traveled to Sweden to work with producers Max Martin , Denniz Pop and Rami Yacoub , among others . Martin showed Spears and her management a track titled " Hit Me Baby One More Time " , which was originally written for American R & B group TLC ; however , they rejected the track . Spears later claimed that she felt excited when she heard it and knew it was going to be a hit record . By June 1998 , the album had been finished . 
