checking dependencies