dependency resolution, exception handling