working on grammar-driven word bags