The MPAA has had a chance to weigh in on director Martin Scorsese’s latest film, and on first-look they warned the filmmaker that The Wolf of Wall Street was destined for an NC-17 rating. THR reports that Scorsese “agreed to trim certain scenes of nudity and sex” in order to guarantee an R-rating for the darkly comic drama, which stars Leonardo DiCaprio as a hard-partying, drug-addicted stockbroker in the 1990s. Rumors had been swirling for months that Scorsese’s no-holds-barred film ventured well into NC-17 territory, but it appears that he and Paramount Pictures have made some edits in order to ensure that the pic can be seen by wide audiences. No doubt excessive violence is still A-OK for the MPAA, just as long as no one’s naked—the horror!

Additionally, THR confirms that the runtime of The Wolf of Wall Street is 2 hours and 59 minutes, which officially makes this Scorsese’s longest film ever, besting Casino by one minute. Nearly three hours of Scorsese doing dark comedy? Now that’s something to be thankful for. The film opens nationwide Christmas Day.