we should probably import sqrt somewhere (the math library?)