Added intermediate lexer