added formatting to index file