Added pause and play