modify to fit mdmv1