wrap make_boxes within map function