tutorial: smoothing with convolve method added