added play pause methods.