make sure we store the linked Pid