added getSlides