added normalization method