again with the indexing.

need a better way to do this.