 Some evidence suggests bumblebees can determine the caste of a larva by feeding it a special diet.Larvae are fed a mixture of pollen and nectar combined with proteins secreted by adult bees.These proteins are mainly invertase and amylase produced in the hypopharyngeal gland.