Setting up Lex