removed duplicate header creation