full implementation of Normalizer, does not work