preliminary work on spell check