pid compiled added global variables