rebuilding sample d3