dt_masks_legacy_params wip