added code to load and draw the board