trying to build dependencies first - this may not work