smoothing + adc, lab 7 stable