ex1 - partly done for normalization