removed redundant println statements