added index text and final formating