This seems extremely brittle. Is this a studio thing? There must be a library call you can reference rather than directly indexing like this.

@dmitchell - any advice here?