working with new definition of set - map still to implement