added the input manager