changed mapped_parameters -> metadata