getInput implemented