add detector and dnd