saving the headers