taking care of the dependency issues