converting types in animals table