emf code enhancer works for first example