[ADD] : global variable and functions