Adding Index API