code for board