add CHAR_MOD for modulo operation.