added loadDependencies