added some print debug