added getInput