assists in searching keys occurinf in a document.