Updated to use normalize rather than reset.