advanced PKGDEP