added play pause control