better logging #2