by verifying the timing of zero crossings