using variations in ohmic resistance