add process status check