Build P, Z, and X