adding create playlist function