Invert some math.