finished testing and treeset