public void sheduleProcess(MessegeAttributes ms) {
        if (ms.getStatus() == 1) {//execution Finished
            if (!readySusQue.isEmpty()) {//& Suspend queue is not empty so put to the ready queue
                addToreadyBysus();
                   
            } else if (!blockQue.isEmpty()) {//if ready sus queue is empty get process from blocked queue
                addblockedToReady();
                    addToblockedBysus();
                        

            }
        } else if (ms.getStatus() == 2) {//if not finished add to the ready que again
            if (readySusQue.isEmpty()) {
                
                readyQue.add(intPro);
            } else {
                addToreadyBysus();
                readySusQue.add(intPro);
            }
        } else {
            if (!readySusQue.isEmpty()) {//& Suspend queue is not empty so put to the ready queue
                addToreadyBysus();
                
            } else if (!blockQue.isEmpty()) {//if ready sus queue is empty get process from blocked queue
                addblockedToReady();
                addToblockedBysus();
                

            }

            addtoBlockedQueue(intPro, blockQue.size());
        }
        
        gui.updateGui(intPro, this, readyQue);//pass the 

        //startTask();

    }