adding substitution packet