new chiCalc working