P4 scheme