successfully added contacts to a hashset and returned unique records