added the playlist functionality back in