Remiving extra system.out.println