2Photon code