Added spell checker code