a mechanical device with gears