cpan: added normalize function