as, boxes, make, and pairs implemented