defines mcd()