add dependency snippet