EMF programming