whoops, need to "import math" since FP comparison uses math.fabs