added playlist functionality