correction to the math