pack resource