Mgi

update for r3