using time shifts of pulses