rewrite the index
rewrite the index