add get animal funcation