add some global vars