trying out dependency injection