add index structure