introduced multithreaded version of entity lookup