tweaking resistance reading