changed the boxes into global variables