added inputmanager