add board state checker