Added Time in and Time out functionality.