update to M5 syntax