code broke because of board.toString() test