return correct dependency