Some code for board.