rename conn to indices