added pause buttons
updated to use pause buttons.