all working except d3