added more slides to functions