use switch and revert xdress