add index w basic structure