added -dreset command