packing and sending