Some tools for packing