tweaking resistance calcs