some changes for normalization