added elem, notElem, and lookup