make this somewhat work for this morning's demo, add SQL index