Try to implement math.