Added some math.