implemented modulus operator