was M5