internalising dependencies