indices are renamed automatically