add header method