Change alg to playlist

still need to refator