add dependency callbacks