 In 2005 , Lukasz Gottwald ( Dr. Luke ) had just finished producing tracks for Kelly Clarkson 's album Breakaway ( 2004 ) and was looking to expand further on his writing and producing credits . Luke solicited around to different people in the music business asking for demos from unknown artists . Two of the demos he received were from Katy Perry and Kesha . He was particularly taken with Kesha 's demos which consisted of a self @-@ penned country ballad and trip @-@ hop track . The latter of the demos caught Luke off guard when she ran out of lyrics and started to rap , " I 'm a white girl / From the ' Ville / Nashville , bitch . Uhh . Uhhhhh . " The improvisation made her stand out from other artists that Luke had listened to , which he recalled : " That 's when I was like , ' OK , I like this girl 's personality . When you 're listening to 100 CDs , that kind of bravado and chutzpah stand out . " Following this , at the age of eighteen , Kesha signed to Luke 's label , Kemosabe Records , and his publishing company , Prescription Songs . 
