more accurate time logging