dependence tutorial