add time compare