document header method