nit: `getUiElement` should have `UI` capitolized