little module for pq