preliminary scaffold for structure indexing with option to switch out