Changed the animal class