added time functionality
add comment