Fixed the math