renamed getInput and getInput.cpp