added the animal class for clarity