added diet-dot and tests