First pass at getting an index on each resonator seems to work ok
but index order seems arbitrary... will see about fixing that