added some logging
added some logging