making index for main page