add generalised mc_flush routine