21.2 Rectification and smoothing