well. added all the bits to do naive proc gen. some modifications as well.