adds order mask