updated InputView.java