cleaned up user_input.py a little