adding checking process status