Wrote some spellcheck functions