Add structure for genPlaylist function