load function from math.txt