 The movie ends with a Bollywood-style musical number, Jai Ho.Screenwriter Simon Beaufoy wrote "Slumdog Millionaire" based on the Boeke Prize-winning and Commonwealth Writers' Prize-nominated novel "Q & A" by Vikas Swarup.To hone the script, Beaufoy made three research trips to India and interviewed street children, finding himself impressed with their attitudes.