How to store pulses for long time