Write EdX regardless - csex is needed to create ode when not optimised.