debugged language check