added dependency injection with using constructor-Injection