improve packing