removed uniq! because it returns nil if no changes, need to use uniq