changes to pq