general changes, made it possible to disable lookup caching (which may be overthought or overkill)