Yeah, both shows are written by Steven Moffat.