skeleton of main index