trying dependency injection