using pulses