refactored, fixes #6
0.2.0 added d3h.d and d3h.i fixes #5