added struct to represent header