implemented modulo procedure and (bitop uint32) library