finally got index working, and it's sweet