important bug fix (properly logs times)