Resolving dependancies