some further work towards my first implementation of a dependency injection