playPlaylist() function
playlist functions