refactoring node playlist