next: modularize EX stage