GenLookupTable