Generating an electric current.