feature: set ex mode