added play functionality but it's not working