added substitutions from form