started implementing more efficient board checking method