 Piliero had the concept nearly finished by the time he met with Spears . Both wanted to explore fun ways for Spears to be inappropriate in the video , who had several ideas , such as a cop frisking her . Having seen Spears on How I Met Your Mother and Saturday Night Live , Piliero felt that none of her videos had really taken advantage of her comedic timing , saying , " She never had a music video where she could show her acting chops and have fun with comedy while being super badass . That was my goal from day one : I wanted her to be funny , badass and super cool . " . During the first day of the shoot , he requested Spears to " have as much fun as possible over these next two days " . Pilliero also stated that the Crossroads ( 2002 ) reference " [ i ] s a fun Easter egg for fans . Plus , Die Hard 2 : Die Harder is the most ridiculously awesome way to title a sequel . It just felt like the right thing to do . When Britney saw it , she loved it . " 
