Dependency injection sample