add several math functions