add resolveDependency(); moar docs;