Wrote normalization (I think)