storeitemincontext() is used when you already have a pointer to the contextnode to which you want to attach your lci. it is called like so: StoreItemInContext (iff, lci, contextnode); storeitemincontext() links your lci into the specified contextnode. then it searches the ContextNode to see if there is another LCI with the same type, ID, and identification values. If so, the old one is deleted.