adding some debug msgs