changed index2 en panel