add global variable app