removed redundant pause control