removed unused code
removed redundant println