added some D3 functionality