reorged the index file a bit