starting to use metadatObject to construct dynamic UI