added play button functionality