Angelina Jolie recently shared how she practiced and perfected her “Maleficent” voice.

On Sunday, the award-winning actress attended the Toronto International Film Festival and told the guests that she wasn’t really prepared for the iconic role when she signed the deal for it. “When I knew I was going to do ‘Maleficent’ I thought, ‘I have to train, I’m not good enough. I’m not ready,’” she said.

In order to become an effective villain, Jolie hired the services of a voice coach who trained her. “I thought, ‘I’m not really sure I could do what needs to be done for her.’ The coach had me play around with throwing my voice as big as it could go,” she added.

And when it was finally time to decide which voice the character would have in the big screen, Jolie sought the “help” of her six children. “The accent and everything about her was discovered when I was giving my kids baths. I think I tried 17 different things on them. They would say, ‘What are you doing?’ Mom, stop talking so weird.’ One day I just got really nutty and I did the voice and they fell over laughing. I did it all night long and I finally found it,” she shared.

“Maleficent” was released in 2014 and became a huge success. Worldwide, the Disney film earned approximately $750 million, according to Deadline. Jolie’s daughter, Vivienne Marcheline Jolie-Pitt, also made a cameo in the film as the young Princess Aurora. The grownup version of the character was played by Elle Fanning, according to People.

Meanwhile, Jolie talked about her mom, Marcheline Bertrand, whom Vivienne was named after. According to the Jolie, it was her mom who influenced her to become an actress. “I did start to get into acting and I did it partially because it was something to do with my mom and it made her so happy,” she revealed.

Bertrand passed away in 2007 after battling cancer. Since her demise, Jolie has not done a lot of projects in front of the camera. “Now, I do it for my kids. And I do love it!” she said.