creating timer to find fruit