 While in 1334 BC Egypt with Queen Nefertiti , after an unseen adventure , the Doctor receives a call from the " Indian Space Agency " in 2367 AD about a vast spaceship which will crash into Earth in six hours . The ISA plans to destroy it with missiles unless the Doctor stops it first . Taking Nefertiti with him , he picks up Edwardian explorer John Riddell from the African plains in 1902 AD . He then materialises the TARDIS around his companions Amy and Rory ten months after he last saw them in " Asylum of the Daleks " , inadvertently taking Rory 's father Brian on the TARDIS as well . They materialise in the spaceship and find that it contains dinosaurs . 
