Added example for Dependency Injection