As was the case with most of the Beatles' albums, Starr sang lead vocal on one track. "Octopus's Garden" is his second and last solo composition released on any album by the band. It was inspired by a trip to Sardinia aboard Peter Sellers ' yacht after Starr left the band for two weeks with his family during the sessions for the White Album. Starr received a full songwriting credit and composed most of the lyrics, though the song's melodic structure was partly written in the studio by Harrison.  The pair would later collaborate as writers on Starr's solo singles " It Don't Come Easy ", " Back Off Boogaloo " and " Photograph ".