Refactory Lex