indentation and shortening of index to make it readable