includes ref to index