added revert command