modified uniq