better logging of times