added self-generated index