added some better logging