mdl version of phase control