Captain Janeway, Tuvok and Harry all joined them on the planet not long after. "How are things progressing?" Janeway asked as they all stopped where Jack, Daniel, Teal'c, Tom and Chakotay were sitting on logs, watching as Sam worked and B'Elanna and Seven watched from just behind her.

"No idea Captain," Chakotay answered, "Although I'm guessing well since nobody has said anything to the contrary."

Janeway nodded and looked at the pile of what to her looked like glass that was beside Sam. "What sort of circuitry does this machine have? It looks like glass."

Daniel shook his head, "They're control crystals Captain. All the Ancient technology use them and then the Goa'uld got hold of it and now they use it too in their technology."

Janeway nodded and looked at the pile beside Sam before saying, "I'm sure Major Carter knows what she's doing but why are there so many components on the floor?"

"Because," Sam said as she stood and brushed the dirt off her knees, "The Ancients were big fans of redundancies, most of these circuits," she picked up the pile of flat crystals, "Are not needed to get us home and just make the whole thing a lot more complicated than it needs to be."

"And the rest of them?" Janeway asked, "You only said some of them were redundancies."

"The rest of them are hopefully what caused the energy discharge that hit me, they're damaged and needed replaced," Sam said confidentially.

"So then Carter," Jack said, getting to his feet and clapping his hands together, "I take it from the look on your face that we're good to go?"

"Very nearly sir," Sam said with a smile, "Just a few more tweaks and we're good to go."

Jack smiled, "Nice job Carter."

She smiled at him, "Thanks sir, but it's not done yet."

She picked up the notebook and pushed some of the buttons on the top of the machine, it started to hum and Sam smiled. She looked back at everyone and said, "We're going home."

Everyone smiled at the news. "You sure Carter?" Jack asked.

She nodded, "Positive sir, as long as you plug in the right coordinates."

"Me?" Jack said, "Why me Carter, surely that might be something you should be doing."

She shook her head, "I don't have the ancient gene sir. The only reason we got sent here was because I pushed one too many buttons on a faulty machine, to get home it's safer if you do it."

"Whatever you say Carter," Jack said with a smile. He looked at Teal'c and Daniel before he said, glee evident in his voice, "SG1, we're going home."

Daniel and Teal'c both smiled while Sam shook her head and began to tidy up all the spare bits and pieces on the floor around her. Jack, Daniel and Teal'c all picked up the bags that they had packed and moved it all over to the remains of the FRED. Sam smiled again and quickly unhooked the battery from the machine and reattached it to the FRED. As she tested the controls Jack moved towards the Captain and offered her his hand. She took it as he said, "Thank you for your help and hospitality Captain. It's been an interesting couple of days."

The Captain nodded, "I wish you all the best for your mission to protect Earth."

Jack smiled and moved on. Everyone shock hands and said their goodbyes. When Sam got to the Captain she smiled and said, "The Colonel was wandering if there was anything we could do to help you and while I can't give you a hyper drive I can give you this." She handed Janeway a small notebook. "B'Elanna should be able to use the calculations in here to be able to get through Borg shielding, and the beauty of it is that it will be impossible from them to block it since they won't have any clue about the origins of the calculations let alone how to counteract it."

"Thank you," Janeway said, genuine thanks shining through her eyes.

Sam smiled and then moved on to B'Elanna, "It was nice working with you."

"Likewise Sam," the half Klingon answered. She then said, looking at Jack, "Colonel, I have something for you."

Jack raised an eyebrow while Tom looked at B'Elanna questioningly. She just smiled and pulled out Jack's yo-yo. "It must have dropped out of your pocket on the holodeck last night."

Jack took it with a smile and walked the dog a few times before he put it into the chest pocket of his BDU's. "Thank you, I would have missed that."

Sam shook her head while Daniel laughed and said, "You Jack O'Neill are just a big kid sometimes."

"Coming from the guy who plays in the dirt for a living," Jack shot back.

"That's my job," Daniel retorted, "You playing with kids toys is nothing to do with your work."

"Well Danny-boy at least I know how to have fun."

"Guys," Sam said loudly, "Are you really going to do this now?"

Both looked sheepish as Sam rolled her eyes. "Are they always like that?" B'Elanna questioned.

"No," Sam said, "Normally they're worse."

"Hey Carter," Jack said, "I resent that."

Sam raised an eyebrow and Jack turned away, muttering something under his breath. Sam turned back to B'Elanna and Janeway and smiled. "Thank you," she said, "For all your help."

Jack, Daniel and Teal'c all moved towards the machine while Sam got the FRED into place before going to stand beside Jack, who was stood in front of the machine while Daniel and Teal'c stood slightly behind them.

"Captain," Sam said, "You might want to move back, I have no idea how much of a field this thing will create."

Janeway nodded and as they began to move away Jack gave them a salute, Sam quickly following along behind.

Everyone smiled at them and then once they were far enough away they turned back and watched as Sam instructed Jack about which buttons to push on the machine.

"Do you think this will work?" Tom asked B'Elanna in a low voice.

"I think if anyone could do it Sam could," B'Elanna answered in an equally as low voice, "She seems more than capable and she was a massive help with the warp core which is impressive considering that it was all newish technology to her."

The crew of Voyager all watched as Jack paused and looked at Sam, Daniel and Teal'c. The two men nodded while Sam placed her hand over his and he pushed the last button. There was a brilliant flash of light and when it cleared they could see that they were indeed gone.

"They did it," B'Elanna said.

Janeway nodded before she turned towards the ship. "B'Elanna, go and see if the Major's calculations will indeed help." She looked at the spot where SG1 had stood and said, "We should follow their example and make for home."

The crew all nodded as Janeway touched her comm and said, "Beam us back to the ship."

They too vanished in a flash of light and not long after Voyager left the planet's surface and continued on its long journey back to the Alpha quadrant and Earth.

"Did it work?" Daniel questioned looking around.

"I think it did yeah Daniel," Sam said looking around, "Because we're completely alone now. I can't see any of the Voyager crew."

Jack smiled, "Well lets go and see if we can find the Stargate then and get home."

They all nodded and Sam controlled the FRED so it followed along behind Jack, Daniel and Teal'c as they made their way in the direction that they hoped the gate was in.

Next chapter is the last chapter :)