set some global VARs