refactor in preparation for lookup inspection
inspection of lookups
updates parser to create lookup statements