finalize the slides