add time logging