Changed order so boxes are in loop