RBC interview question

Implement dependency injection