A dynamo is a machine _______ is used for producing electricity