index with copy-writing