Generator of index finnished