I have the following list item

```
<ul id="lxx" class="lst">
  <li>arnold</li>
  <li>Becky</li>
  <li>Arnold</li>
  <li>KathY</li>
  <li>Carol</li>
  <li>ARNold</li>    
  <li>carol</li>          
</ul>

```

I am using this code which adds a class 'someClass' to all items which are repeated more than once.

```
$('#lxx li').filter(function(){
    return $(this).siblings().text().toUpperCase()
        .indexOf($(this).text().toUpperCase()) != -1;
  }).addClass('someClass');

```

However what happens is that the original item also gets highlighted using the above code, whereas I want only repeated items to get highlighted. So out of arnold, Arnold and ARNold only the last two should get highlighted. Similarly for other dups too.

How can I change my code to accommodate this? **Also is there a better way to do this?**