removing some printf debug statements