removed unnecessary variable declaration