corrected arith()