added getPlaylist method