added an index, and saved the docco stuff again, really need to figure out a
better system when I have time