generalized the replacing of values so that if it contains unreferenced parameters or incomputable values it will just say ''