added animalsub class