Author J.K. Rowling is beloved by so many people just for creating the Harry Potter series, but here’s yet another reason to love her. This week, Rowling tweeted a heartfelt message to a fan struggling with depression, and even though this is hardly the first time she’s reached out to her fans on social media, it’s a perfect reminder of how she has always used her influence and her platform for good.

Rowling has always been super active on Twitter, so it’s no surprise that she wanted to be there for a fan of Harry Potter when she needed it most. The fan, Sally Burns, said in a tweet that she was having a hard time with her depression, so she was rereading the series to help her get through the rough patch, adding her thanks to the author for creating such a magical world for people to escape into when they need a break from real life. Most Potter fans can definitely agree that the series is especially good at that, right?

And Rowling’s response? Not only did she remind Burns to “keep that Patronus powerful,” but she also added that writing the Harry Potter books was helpful to her, too, when she was going through a similarly difficult time.

Then, when another fan responded asking Rowling what she reads when she’s going through a hard time, this is what Rowling said:

That’s actually some really solid advice. Sometimes, all you need is a little inspiration to keep going, and reading about someone who has overcome incredible obstacles (like Rowling herself, now that we think about it) can often be exactly what you need to realize how capable you really are of surviving whatever it is you’re going through.