made LayEggs() and giveBirth() private