rename idqueue as nqueue