resolving dependencies