porieseny problem s dependency injection, mozme riesit dalsie