 McCartney, who claims to have written much of the melody, recalled that the song's musical inspiration came from Smokey Robinson and the Miracles.In Gould's description, the song "owed a conscious debt" to the Miracles' contemporary hit "The Tracks of My Tears" and thereby served as "the most recent installment in the lively cultural exchange between Motown's Hitsville Studios and EMI's Abbey Road".Martin's Bach-inspired piano solo was overdubbed in the Beatles' absence, over a section that they had left empty.