removed unnecessary variable assignment