add some thinking(index, header)