please include function aiConceptsMap_cached. sbool createAIConcept_verbose; static AIConcept createAIConcept(S name, S universe) { ret createAIConcept(name, "", universe); } // returns an unlisted copy for immediate use static AIConcept createAIConcept(S name, S comment, S universe) { RemoteDB db = new RemoteDB(aiConceptsProgram()); S globalID = aGlobalID(); O[] params = { +globalID, +name, +comment, originatingUniverse := universe, touched := now() }; db.xnew("AIConcept", params); db.close(); AIConcept c = unlisted(AIConcept); cset(c, params); synchronized(aiConceptsMap_cached_cache) { put(aiConceptsMap_cached_cache!, c.globalID, c); } if (createAIConcept_verbose) print("createAIConcept: " + globalID + " - " + name); ret c; }