Replaced Substitution Code