added time logging