how to render a presentation