addedd a local copy of d3