Added d3layer stuff