initialized global variables