Changed signature of pulses()