ProcessInput