Removed get_pet_type() function