adding array value substitutions