checks process name