get math parser working