regenerating index