added math library