fund his first movie, Diary of a Mad Black Woman, which went on to gross US$50.6 million domestically, while scoring a 16% approval rating at the film review web site Rotten Tomatoes. Perry made his directorial debut on his next film, an adaptation of Madea's Family Reunion, and has directed all of his subsequent Madea films. On its opening weekend, February 24–26, 2006, Madea's Family Reunion opened at number one at the box office with $30.3 million. The film eventually grossed $65 million. Perry and his co-stars promoted the film on The Oprah Winfrey Show. As with Diary, almost all of the Madeas earnings have been generated in the United States. Perry's next Lionsgate project, Daddy's Little Girls, starred Gabrielle Union and Idris Elba and was released in the United States on February 14, 2007. It grossed over US$31 million. Perry wrote, directed, produced and starred in his next film, Why Did I Get Married?, released on October 12, 2007. It opened at number one, grossing US$21.4 million that weekend. It is loosely based on his play of the same name. Filming began March 5, 2007, in Whistler, British Columbia, a resort town north of Vancouver, then moved to Atlanta, where Perry had opened his own studio. Janet Jackson, Sharon Leal, Jill Scott, and Tasha Smith appeared in the film. Perry's 2008 film, Meet the Browns, released on March 21, opened at number 2 with a US$20.1 million weekend gross. The Family That Preys opened on September 12, 2008, and grossed over US$37.1 million. Madea Goes to Jail opened at number one on February 20, 2009, grossing US$41 million and becoming his largest opening to date. This was Perry's seventh film with Lionsgate Entertainment. At the request of director J. J. Abrams, also in 2009, Perry had a small role as the Starfleet Academy commandant Admiral Barnett in Star Trek, which opened on May 8. This was his first film appearance outside of his own projects. Perry next wrote, directed, and starred in I Can Do Bad All By Myself (2009), a film structured around his Madea character. This was Perry's eighth film and it also made number one at the box office. In 2009, Perry teamed with Oprah Winfrey to present Precious, a film based on the novel Push by Sapphire. Why Did I Get Married Too?, the sequel to Why Did I Get Married?, opened in theaters on