removed unnecessary var declaration