introduce packer and fix prompt