added substitution mapping simulation