doing packer and depacker