added rect_set data structure