Anne Hathaway may deal with body-shaming “all the time,” but the set of Ocean’s 8 was a safe space for her. The actress opened up on Thursday’s episode of The Ellen DeGeneres Show about what it was like to head back to work after the birth of her son, Jonathan, and how her costars helped boost her confidence about her body.

“It was really significant for me because [Ocean’s 8] was my first movie after having my son,” she told DeGeneres. “One of the lucky things about being in this business for so long is that I’ve really kind of come to terms with the pressure that you get to look a certain way as an actress, and I don’t beat myself up about any of that stuff anymore. But after I had my son, the weight was really slow to come off, and so I was a different size than I normally am.”

The film’s director, Gary Ross, was the first to reassure Hathaway. “The director told me, ‘That’s great, we have eight women in this movie. We need to have as many body types up there as we can,’ which I was really relieved to hear,” she said.

And things got even better when she met up with her costars. “I walked on the set, and, you know, my weight’s a little up and I’m just aware of it. And I walk on the set and I’m in my jeans, and I’ve done my best and I’m going to love myself no matter what,” she said. “And Sandy Bullock looks up and goes, ‘Looking good, mama!’ And it made me feel amazing!”

Bullock wasn’t the only one who threw a compliment her way, either. “Cate Blanchett’s like, ‘Nice jeans, Hathaway!’ And then Rihanna looks up and goes, ‘Damn, girl, you got a ass!’ And I of course freaked out and loved it so much,” Hathaway admitted. “I was like, ‘Really?!’ And she goes, ‘You got a ass like me!'”

Hathaway siad that the women’s support was “so beautiful” and that “to be surrounded by so much love and understanding, it was just great.”

Are you and your friends supportive of each other when it comes to body-positivity? Let us know @BritandCo!

(photos via Jamie McCarthy/Getty Images)