Added new line at the end of index