use InputManager