get the math right