beginnning of zcrmd_nexp