using auxiliary pulse generator triggered by the incoming pulses