add time logger