add mod operation