Matt Damon has been saying for a while now that he’s dying to direct a movie, and given that he’s worked with some of the best filmmakers alive (Steven Spielberg, Steven Soderbergh, and Clint Eastwood, to name just three), it’s easy to understand why. Now he’s finally ready to put everything he’s learned to work. EW has confirmed that, as first reported by Variety, Damon is set to direct an as-yet-untitled drama he has co-written with The Office star John Krasinski.

Damon will star as a salesman who arrives in a small town only to have his whole life called into question. Krasinski came up with the story idea and developed it with A Heartbreaking Work of Staggering Genius author Dave Eggers (who co-wrote the screenplay for the 2009 film Away We Go, which Krasinski starred in). Krasinski pitched the idea to Damon, who agreed to co-write it with him and to direct it. The movie, which is being set up at Warner Bros., will be produced under Krasinski’s Sunday Night Productions banner, and Damon and his longtime producing partner Chris Moore will also produce.

Damon is also attached to direct Father Daughter Time: A Tale of Armed Robbery and Eskimo Kisses, about a criminal on the lam with his daughter, but a source tells EW the project with Krasinski will be his directorial debut.