added some print debug statement