Robin Williams’ final role was in the comedy film Absolutely Anything, where he starred opposite Simon Pegg and Eddie Izzard. Watch a clip here.

Shortly before committing suicide in August 2014, comedy legend Robin Williams completed voice work on what would be his final film: Terry Jones’ Absolutely Anything.

Related: ‘Robin Williams’ was the most-Googled term of 2014

The movie was written and directed by Jones, a member of the British Monty Python comedy group. Several of the other members – including Terry Gillam and John Cleese – also appear in the film.

It follows a teacher, played by Simon Pegg, who is granted the ability to do “absolutely anything” by a group of aliens.

One of the things Pegg’s character does is give his dog Dennis the ability to speak. Williams voices the dog, who is more concerned with biscuits and shagging than anything else.

You can hear Williams’ voice in the following clip:

The talented actor was famed for his voice work as the Genie in Disney’s Aladdin, and did a fantastic job here as Dennis the dog.

Absolutely Anything promises to be a great movie; Terry Jones has been working on it for almost 20 years, and has reined in some of the finest British comedy actors for the project. It is set to be released in the spring of 2015.