removed complicated pause control