New pkg method
Revert "New pkg method"

This reverts commit 69c6ea620805028fa4ba2fa07bfa16834155a58f.
pkg work