How can resistance be changed in a circuit?