some changes in board.py