add example codes for M2M2H