added work on slideshow