function for header creation added