Biological samples studied with intense X-rays at free-electron lasers are destroyed within nanoseconds after they are exposed. Because of this, the samples need to be continually refreshed to allow the many images needed for an experiment to be obtained. Conventional methods use jets that supply a continuous stream of samples, but this can be very wasteful as the X-rays only interact with a tiny fraction of the injected material.