"The Schizoid Man" is the sixth episode of the second season of the American science fiction television series Star Trek: The Next Generation, the 32nd episode overall first airing on January 23, 1989. The teleplay was written by Tracy Torme based on a story by Richard Manning and Hans Beimler, and directed by Les Landau. Set in the 24th century, the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D. In this episode, a dying scientist, Dr. Ira Graves, attempts to cheat death by transferring his memories and personality into a machine, specifically the Enterprise android officer Lieutenant Commander Data. Plot The Federation starship Enterprise, under the command of Captain Jean-Luc Picard, is en route to provide medical care for the reclusive but respected scientist Dr. Ira Graves, who lives with only his assistant, Kareen Brianon, on a remote planet. When the crew receives an emergency distress call from a nearby transport ship, Captain Picard elects to send an away team composed of Data, Counselor Troi, Lt. Worf, and Dr. Selar to see to Dr. Graves while Chief Medical Officer Dr. Pulaski stays aboard the Enterprise, which leaves to attend to the transport. The away team finds that the request for medical assistance was made by Kareen without Graves' knowledge, and though resentful, he allows Selar to examine him. Selar determines that Graves has Darnay's disease, an incurable terminal disease and has only three weeks to live, so the team begins to collect Graves' research and records to preserve them after his death. Graves recognizes Data as Noonien Soong's creation and claims that he taught Soong everything he knew and asserts that if Soong is considered Data's "father", that would make Graves his "grandfather". Graves and Data begin to spend time alone, during which Graves reveals that he has developed a method to transfer his consciousness to a computer, allowing him to live indefinitely. Data in turn reveals that he has an off switch, which he says could be used to precipitate a version of death. Later, Data reports to the away team that Graves has died. The Enterprise returns and retrieves the away team along with Kareen and Graves' body; Graves is given a funeral. Data delivers a glowing eulogy, surprising the crew. When he later whistles "If I Only Had a Heart", echoing a habit of Graves' (who had told Data he resembled the