 Cash had met Dylan briefly backstage during one of his performances at The Gaslight Cafe, but they talked extensively after a show in Newport, Rhode Island.Cash and Dylan traded songs in a motel, where Joan Baez wrote for Cash the lyrics of "It Ain't Me Babe" and "Mama, You've Been on My Mind".The first song was originally released in Dylan's "Another Side of Bob Dylan", but the second was only recorded as a demo by Dylan.