modified lex file