changed type to arith type