added some debug info.