add header start and end information