Deciding he needed more experience before tackling a production of this magnitude and complexity, Nolan shelved the project and instead worked on 2005's "Batman Begins", 2006's "The Prestige", and "The Dark Knight" in 2008. He spent six months polishing up the script for "Inception" before Warner Bros. purchased it in February 2009. Filming spanned in six countries, beginning in Tokyo on June 19 and finishing in Canada in November 22. It was officially budgeted at $160 million, a cost which was shared between Warner Bros. and Legendary. Nolan's success with "The Dark Knight" helped gain the movie $100 million to spend on advertising.