Bhima served as the cook in Virata's kingdom during the Pandavas' final year of exile (Agyatvasa), working under the name Vallabha. Nakul became the caretaker of horses, Arjuna taught dance/music as Brihannala, and Sahadeva tended to the cattle. Their identities remained hidden until the end of exile.