changed the egg hatching model