removing system out printlns and other stuff