added an InputManager