added animal class sub class