added formatting to index