do not check time value twice