app initialize index