Add some logging, remove debug print