getting process leader