dependency injection
moved settings