Partial commenting ian_code, index1 = index

Changed index1 to index. Partial commenting of ian_code