errorless but notworking index2