simplify the metadata input