index structure more or less complete (hopefully!!!!)