update math_helper to static method