added some debug