added a feature to maintain the playlist