Netflix’s attempts to crack down on password sharing is starting to pay off. The company reported substantial growth in subscribers in the months following its push to stop users from sharing accounts with people outside of their household.

The streaming company added nearly 6 million paying subscribers, an increase of 8 percent, during the second quarter of 2023. The results confirm earlier reports from third-party data that suggested the tightened restrictions were working.