created add_animal method