better equation computations