Lexer working