better management of time, even after restart