removed unnecessary var assignment