math_functions worked