model for handling eggs hatching