Simple example of Dependency Injection