switch to function format, skeleton remaining work in playlist POST