Added time logging