Corrected some math