deleted some global variables