refactored playlist.clear()