add possibility of skipping photons