adding header to index