Folks with depression who got therapy via text or voice messages fared just as well as those who got weekly video-based telemedicine sessions with a therapist, a new trial has found.

The findings “suggest that psychotherapy delivered via text messages may be a viable alternative to face-to-face or videoconferencing delivery and may allow for more immediate on-demand care,” in a time when it’s often tough for people to access mental health care, the study authors wrote.