almost fully working playlist creation