add dependency index