Code blocks for the PQF