Fixed version of box.java