added a timer, food decay, and food generation'