removed random switch, uncommented autoplay