added CreateHeader definition