Building code to locate emulators