extract queue