add input manager