split into mc-echo and mc-wrap