Removed unnecessary variable declarations