reworked sets object to meet specification