added Playlist functions