def board method for board