Added changes to animal.py