added mg example