Tyson's Start on Index.c

Isn't multi-thread safe and/or a memory issue