better logging of results