added button for pause