comments to explain how rw d3 is working