Forgot to remove the System.setIn line.