simplified and optimized time management (first pass)