add log for time