resolving dependencies for the package