added a small method in BoardView