refactor set_boxes