Removed non global variable