fixed the times using TimeUnit