No wonder Moffat hired Peter Capaldi, he's already had plenty of experience with time travel.