changed header creation