working on equation balancer