added index copy