emf code enhancement works somewhat