variable name checking now works