added some debug statement