Added food, refactored functions