added full logic to playlist works