Added a process check