added animal class