Avoided deep recursion in time management