add a header to the index