added mathematica printing