bg: converted to use M