Fixed typo in log_time()
Improved stats