Added uniq utility function