dependency check and scaling