added back emf reading (not working yet)