fixed up emgInterface