added local copy of D3