removed 'import lex'. it was a leftover from a failed attempt to import