Lenz's law states that the direction of induced current opposes the cause producing it. The cause can be either a time-varying magnetic field, a non-stationary conductor, or both the causes together. If a bar magnet is moved toward a coil, then the magnetic flux passing through the coil changes. This induces a current that creates a magnetic field having a direction opposite to the original magnetic field. If the stretched thumb of the right hand is in the opposite direction to the original magnetic field, then the curled fingers give the direction of the induced current. On the other hand, if the polarity of the bar magnet is reversed, while it moves towards the coil, the induced current creates a magnetic field in the opposite direction to the original magnetic field. Similarly, if the motion of the conductor changes the magnetic flux through the coil, the current is induced. This current is in a direction such that the magnetic force on the conductor opposes the motion of the conductor.