A teen needed a stable home to make the kidney transplant list. So his teacher took him in

Damien, 13, cooks with his math teacher and foster parent, Finn Lanning, in Aurora, Colorado.

(CNN)Damien, 13, didn't believe it when he found out his new foster parent would be his math teacher, Finn Lanning.

"The previous two foster homes said that they were stable," the seventh-grader told CNN with a hint of disappointment in his voice. "I didn't think that this one would last either."
Lanning and Damien first met at the beginning of the school year in August 2018 at the AXL Academy in Aurora, Colorado.
    The teacher said he knew right away that the boy was special. "He is well-mannered, polite and exceptionally smart," said Lanning, who asked that Damien's last name not be used.
      The teenager also faces a lot of challenges.
      When he was 8, Damien's kidneys failed, and he went on dialysis.
      He has moved through many foster homes over the years. This instability had kept him off the list to receive a kidney donation; his itinerant life raised the risk of transplant failure.
        "He is well-mannered, polite and exceptionally smart," Lanning says of Damien.
        "Since his diagnosis, he has had to live in the hospital. One stay was a year. Others were a couple of months. That was the result (of) a lack of suitable placement," Lanning told CNN.
        Any guardian must be trained to meet Damien's needs. The boy spends more than 12 hours each day connected to a home dialysis machine and has a restrictive diet.
        "No way!" Lanning recalls thinking of the demands that would face him. " 'This is not something that I'm going to do.' But as time went on, I felt a call to engage with it. I couldn't just not do it. I didn't see it as an option."
        In December, Lanning started training to care for Damien.

        A bond over food and math

        Damien's only concern about living with his teacher?
        He was worried he might have to do a lot of homework, the math instructor told CNN with laughter.
        But L