integrate inputManager