adding some debug output