TimeUnit class not used