added demo of MG formalism