adding playlist functionality