The guts of the new Msg system