Removed code for checking times