added eval-formula formula evaluation