add dependency checks