buyPack compiling