includes symbols in algorithm to make it more precise