global pid added