a mechanical device with a gear