Moved creation of board to var