add simple dependency injection