adding doctrine lexer