added discard changes command