figure 5: timing waveform