I think your issue lies in the fact that when you generate your egg, its not being added to the group, try debugging whether it is in the group or not.
Also, with the 'aquireEgg' function, you have added and option to pass in a value for egg but then not used it.