change normalise algorythm