fixed up Input.java, no idea what's going on there