removed unnecessary variables. no impact to functionality.