Bug fix for M - now uses g, not a