separated code that gets input from the user from code that runs the
commands