In 2008, Pinkett Smith took on the role of a lesbian author in the all-female comedy "The Women", opposite Meg Ryan, Annette Bening, Debra Messing, and Eva Mendes. Though a commercial success, "The Women" was panned by critics, with Pinkett Smith earning a nomination for the Golden Raspberry Award for Worst Actress for her performance. Her directorial debut was the drama "The Human Contract" (also 2008); she also wrote, and starred as the sister of a successful but unhappy businessman, with Paz Vega and Idris Elba. It debuted at the Cannes Film Festival in May 2008. The success of "Madagascar" led Pinkett Smith to return to the role of Gloria in the 2008 sequel "", which earned US$603 million at the international box office.