add animal class and fix person hash