Removed unnecessary TimeUnit variable
Added javadoc comments