Professor Frink uses an astrology machine to show Bart and Lisa what their last days as high school students will be like if they don't mend their ways. In the not-so-distant future, robots are a part of life, Moe has a clone, Homer and Marge are separated, Lisa is dating a muscle-bound Milhouse and Bart is dating the girl of his dreams, Jenda. The Simpson kids' relationships fall apart on prom night because Lisa doesn't love Milhouse and Jenda has moved past Bart. In an effort to prove his maturity to Jenda, Bart takes a job at the Kwik-E-Mart. While on a routine delivery, Bart saves Mr. Burns from a robber. In turn, Mr. Burns rewards Bart with a Yale scholarship initially intended for Lisa. Bart uses the scholarship to win back Jenda and he later attempts to ease his conscience by encouraging Milhouse to reunite with Lisa. Bart and Jenda sneak away to an abandoned Frink's house where Bart uses the astrology machine to peer further into the future. Bart is dismayed to see an unhappily married Lisa and Milhouse caring for geriatric versions of Homer and Kirk. Bart's conscience causes him to leave Jenda, stop Milhouse's advances and return the scholarship to his sister. In the present Bart and Lisa see how the selfless act reunites Homer and Marge.