uses array-form of declaring the dependencies