added some D3 features