added some normalization functionality to the utils