Move PID of manager fro global variable in structure element.