added functionality to give up an animal
merge