added d-mode