Memo to Wall Street interns: go home and get some sleep. But, you know, not too much.

Goldman Sachs told its summer interns — all 2,900 of them — when they started their gigs this summer that they can’t be in the office between midnight and 7 a.m., Reuters first reported.

The 17-hour work day restriction is an attempt by the banking giants to curb some of their junior staffers’ long and grueling hours. One young banker told Atlantic writer Kevin Roose last year that the “banker 9 to 5” is 9 a.m. until 5 a.m. the next day. And 22-year-old Sarvshreshth Gupta complained to his father about regular 100 hour work weeks before he died earlier this year.

The efforts to ease up conditions on its staffers began after Moritz Erhardt, a 21 year-old intern at Bank of America Merrill Lynch, died of an epileptic seizure in 2013 after working 72 hours.

Earlier this year, Bank of America told its staffers that they’ll be required to take a minimum of four weekends off per month. Goldman Sachs has also encouraged its staffers not to work on weekends, and began offering analysts full-time contracts instead of two-year contracts to relieve some of the pressure.