data structure with slides which refers to slideshow terminate