some simplifications to sets