more work on single_photon section