use inputmanager