copy index. add connect.