added some debug msgs