Modified MultipleBoxes demo