- added some logging