adding chunks, edited index