Add the span argument for smoothing