input manager