cleaned dot.h