The idea for the song came on a Sunday morning in October 1958 while reading a newspaper and seeing an advert for a child's doll. The doll was said to "kneel, walk, sit and sing".
The melody for the song came about on a Sunday morning in October 1958 when the author saw an ad for a doll that could kneel, walk, sit, and sing.