changed the value of resistance