Added function for create header