added better spell checking