make metadata more generic