removed pqueue and its references