Updated photon selection section