Updated math.