dynamo mechanism