remved unneded line ;)
added slide rendering