major work to include the normalization calculation