updated initialization of dependencies