language checker code