reorganized into sections. both linear and nonlinear normalization