This presentation creation code is repeated in `create_presentation()`. Can you reuse that code instead of duplicating it?