playlist functionality working