better dependency configuration