Packing and Filling_header