removed unnecessary variable