updated BoardController.py