done text content for index and improved file structure