a machine with a cord