modified make_slides