added some updates to the way pulses happen