finally got the equality right... whew