renamed gen as make_slides