adding a copy of the GetInput.java