resetting the board