slightly better logging