change a method in Animal class