doLookup vs lookup