

The boys are warped back to Outer Mongolia, 1170 A.D. It is the time of Genghis Khan who is the future leader of Mongolia. He is 9 years old and it's also the time when Mongols and the Tartars are at war with each other.
Joe's uncle gives him a mysterious book for his birthday, but when his friend Fred wishes for buried treasure while looking through the book, Joe, Sam and Fred suddenly find themselves transported back through time to the year 1718 on a pirate ship captained by the infamous Blackbeard.
The boys are accidentally transported to the year 2105 when the boys are on a class trip to the Natural History Museum to learn about the inventions of the past. While there, they meet their great-granddaughters and get attacked by robots with ray guns.