added code for Play All