Abstract gear mechanism