added IR indexing