added single photon section and basic plot