Removed printf debug lines