make global variables static