added in better logging