Cameron Diaz and Justin Timberlake's off-screen chemistry may have fizzled some time ago, but that didn't stop them from reuniting on the big screen for 'Bad Teacher.'

Diaz told PEOPLE it "really wasn't a big deal" that the pair star together in the film, adding that they "had a great time" together.

Diaz dished that Timberlake brought his A-game when it came to delivering comedy and that hiring him for the role was an easy decision.

"He's a genius comedian, everybody knows," she said. "'Saturday Night Live' and all the stuff that he's done over the years, he's clearly talented. We went for the best person for the job, and it just so happened that it was him. And he delivers."