Changing isSched source code