changed getBoxes to getAll