changed some CPU scheduling, and further updating