class for animal's class