issue with hashset now using treeset