 The album 's first single , " The Recipe " , was released on April 3 , 2012 . The song features his mentor , record producer and fellow rapper Dr. Dre and was produced by Scoop DeVille . It peaked at number 38 on Hot R & B / Hip @-@ Hop Songs and at number 3 on Bubbling Under Hot 100 Singles . Kendrick shot a video for it featuring Dr. Dre at a mansion in Los Angeles in May 2012 although it was never released . The album 's second single " Swimming Pools ( Drank ) " was released on July 31 , 2012 , as a digital download , while the music video premiered on August 3 , 2012 . The song became a hit , peaking at number 17 on the Billboard Hot 100 . " Swimming Pools ( Drank ) " was also certified gold in the United States by the RIAA . 
