implemented the DependencyScope