implement hasDependencies and getDependencies