added spell checking