d3 stuff kind of working