Interaction of electrons and laser light causes echo effect, which improves the quality of X-ray pulses.