ui-lib conversion