Renamed and changed the type of header data var