In the show's second season, the sisters continue to balance their personal lives with their magic as they begin to gain more control over their powers. As Piper opens a nightclub, her love life becomes a bit messy when she gets involved in a love triangle between Leo and neighbor Dan Gordon. Phoebe returns to school as she also learns to command premonitions. Prue, meanwhile, leaves her job to pursue her dream of being a photographer. While undercover, she becomes romantically involved with a man who tried to assassinate her and her sisters. The sisters also find themselves traveling to both the past and the future throughout the season, in addition to facing their own family history when they are forced to destroy the demon that was responsible for their mother's death. In the season finale, a genie tricks the Halliwell sisters into making wishes, resulting in an uncontrollable power for Phoebe, Prue's death, and the rapid aging of Dan, who finally learns Piper's secret.