unique & rfind usage