Removed bulk of program. Left getInput()