replaced pure with normalize