nmqueue basic code