changed parameter name to slide
changed split param to slides