getInput() works