Remove direct System.out.println statement