lex practice

It turns out this approach doesn't look promising.
Adding much complexity; inefficient.