made index and index1 similar