a utility instrument for 3 level pulses