Using set now
bug in set compare class fixed, no duplicate element anymore