Removed global variables