Adding D3 stuff