changed ppq to pq