Jesus that code. Food delay should not be a task. Also this code is mainly eating and adding delay at end. But there is code earlier for canEat or checking if timers are good. Eitherway the system you have now wont support the behaviour we outlined. Need to rewrite parts of it.