partial implementation of normalization and associated test