implemented spellcheck