Removed global variable