using comparison with a reference electric value