changed syntax for slides