up to jsdtmd 0.0.4
refactoring