Feature/shareable indexing

I think this line can be deleted, since the order of operations had to be changed.