[Pebbles 007] gears together function