exploring https://github.com/clips/pattern as a module for use with lexos