the song came about when green recorded a comedy sketch on a cruise ship as he wandered the decks bothering people. following an altercation with a ship employee, he began rubbing his bottom against a rail, singing, "my bum is on the rail, my bum is on the rail." the incident inspired green to compose the full song.