add def animal class