ported UICatalog sample