added some print traces