produce substitutions