The New York legislature closed down late Thursday night with an end-of-session-deal that would strip convicted lawmakers of their pensions, extend mayoral control of New York City schools for one more year, and legalize daily fantasy sports gambling.

Legislators have agreed to expand the hours New Yorkers can drink alcohol, permitting drinks to be served at 10 am Sunday instead of the current noon start time. On certain occasions, like sporting events played Europe that are shown early in the morning in the United States, bars and restaurants can start serving at 8 am. Another measure to allow drinking in movie theaters was gaining support, but passage was uncertain.

Lawmakers were still counting votes to legalize daily fantasy sports, Assembly Speaker Carl Heastie said. “If the votes are there, then we’ll do it,” Heastie said. Attorney General Eric Schneiderman halted the online games last fall, but said they could resume if the legislature acts to regulate them. Legislators also considered a measure to legalize online poker.

They were having more trouble reaching agreements on ethics reform, in a year that’s seen the two former legislative leaders sentenced to prison as well as state and federal probes of Governor Andrew Cuomo’s economic development programs. A measure to close a major campaign finance loophole involving limited liability companies has not gained traction in the state Senate, and other measures remain stalled.

The one bill that was likely to pass would cancel the pensions of lawmakers convicted of a felony. The measure was initially agreed to in March 2015, but the Assembly has not acted yet. Heastie said the pension forfeiture measure will be approved before the Assembly leaves. “It will be resolved one way or the other,” Heastie said. The Assembly wants to limit the scope of the pension forfeiture for lower-level officials, but the Senate does not want to alter the bill, which would be the first step toward changing the state’s constitution.

The session that allows purchasing alcohol and betting online as big accomplishments would be a far cry from what New Yorkers deserve and want out of Albany.

Blair Horner with the New York Public Interest Research Group said it would be a “failure” if no other ethics reforms were approved before the final gavel on the 2016 session. “The session that allows purchasing alcohol and betting online as big accomplishments would be a far cry from what New Yorkers deserve and want out of Albany,” said Horner, who added residents are tired of seeing lawmakers do the “perp walk.” “They expect Albany to clean itself up,” Horner said.

While legislators extended the use of alcohol, they acted to restrict the use of other drugs—heroin and opiates. The new measure makes it easier to get treatment and eliminates some roadblocks by health insurers. It focuses more on helping people than punishing addicts with jail time, said the Senate bill co-sponsor, Terence Murphy of the Hudson Valley. “It doesn’t matter if you’re black, if you’re white, what religion you have,” Murphy said. “It has shaken down very, very, very good families.”

Homeless advocates are disappointed with legislators’ failure to follow through with Cuomo’s plan to spend $2 billion on supportive and affordable housing. Six thousand of the 20,000 promised units were approved in the state budget, but a memo required to free up the rest of the money has failed to materialize so far. Assemblyman Andrew Hevesi, a Democrat from Queens, was pessimistic when he spoke earlier in the week on the issue. “One of the worst-kept secrets in Albany is that funding for homelessness never seems to materialize,” Hevesi said.

One bitter advocate said the governor’s promise to fund homeless housing is about as credible as “a degree from Trump University.”

Another measure that seemed to be falling off the table as the session drew to a close was one that would allow ride-sharing services like Uber and Lyft to operate outside of New York City. Heastie said the measure was “on life support.”