changed board to check word-based, not sequence based