implement uniq method