Removed unnecessary global variable declaration