cleaned up and prettified the index file