add variant to arith sample