R.D. Burman had previously used this composition for the Bengali non-film song "Tomate Amate Dekha Hoye Hoyechhilo" which he had sung himself.[1]
Gulzar wasn't quite happy with the version of this song that was recorded for the film's soundtrack album. He felt that it was too energetic for a lori (lullaby) but since R.D. Burman was already committed to the composition, Gulzar didn't think it was appropriate to disrupt the recording. However, when it came to filming the song, Gulzar asked Burman to record a different version in line with the lori he had in mind. The film version was then recorded to a slower beat and with minimal instrumentation.[2]