Once, the supreme ascetic Gargacharya arrived in Gokul. He was the ancestral teacher of Yaduvanshis. Nand joyfully welcomed and treated the hermit. Then he requested him to carry out the ritual of naming and suggest suitable named for both of his sons. Acharya Garg said, “O Nand, everyone knows that I am the ancestral teacher of the Yadavas. If I carry out the naming ritual for these boys, people will understand that they are Devaki’s sons.” So Nand requested Gargacharya to name his sons secretly. Gargacharya accepted his request and carried out the naming rituals secretly in Nand’s cattle shed.
Garg said: “This son of Rohini will cause by his virtue, great pleasures for his near and dear ones. So his second name will be Rama. And because of excessive strength, people will call him as Bala also. Since he will unite the people also, so one of his names would be Sankarshan.”
Thereafter, Garg said pointing to Yashodanandan. He has taken incarnation in every age. In the past ages, he had taken white, red and yellow complexions respectively. This time he has taken dark complexion, so he will be known as Krishna. Once he has been the son of Vasudev, so people will call him as Vasudev also. He will cause salvation of all of you, and great joy for the fellow Gopas and cows. With his help, you will overcome even the severe crises. O Nand, This boy will be equal to Narayana in virtues, wealth, beauty, fame and influence. Foster this child with care and earnestness.” Thus naming the boys as per their virtues, Garg returned to his hermitage.