add separate timers for food and obstacles