Netflix announced Friday that it has amended and expanded its agreement with 20th Century Fox to add more titles from Fox’s TV and movie library. That includes streaming Season 1 of Glee and the first two seasons of FX’s Sons of Anarchy, with additional seasons available annually. Older shows like Ally McBeal and The Wonder Years also will stream instantly for the first time. Additionally, Fox will make a number of library movies available to Netflix after their premium pay TV license periods end.

“Our expanded non-exclusive streaming arrangement with Netflix maintains Fox’s flexibility to effectively manage both the content we offer, and the appropriate window of availability relative to our other distribution partnerships,” said Peter Levinsohn, president of new media and digital distribution for Fox Filmed Entertainment. “We look forward to working with Netflix and our other partners to further enhance the choices available to audiences.”