a machine with gears and cogs