faster referenceLookup?