M pattern