Clearing out the doubles