dict->mapping, list->sequence