Mg triggers outside of loopp