underflow test
if(empty(pq))